package com.javasm.sys.constant;

/**
 * redis key前缀
 */

public enum RedisPreEnum {
    JWT_TOKEN_PRE("JWT_TOKEN_","token前缀",60*60*24);

    private String pre;
    private String desc;
    private Integer expired;

    RedisPreEnum(String pre, String desc, Integer expired) {
        this.pre = pre;
        this.desc = desc;
        this.expired = expired;
    }

    public String getPre() {
        return pre;
    }

    public void setPre(String pre) {
        this.pre = pre;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getExpired() {
        return expired;
    }

    public void setExpired(Integer expired) {
        this.expired = expired;
    }
}
